package com.example.tse.rbhttpservice.service.home.model;

import java.util.List;
import java.util.ArrayList;
import com.example.tse.rbhttpservice.service.RudderResponse;


/**
 * 获取首页的囤货更省钱列表
 * @author wliu
 * edit tse
 */
public class HomeGetStockpileAd extends RudderResponse{
    
    private String url = "";
		
    
    private String link = "";
		
    
    private String linkType = "";
		
	
    /**
     * @return url
     */	
    public String getUrl() { 
	    return this.url;
    };
	
	/**
     * @return url
     */	
    public void setUrl(String url) { 
        this.url = url;
    };
    
    /**
     * @return link
     */	
    public String getLink() { 
	    return this.link;
    };
	
	/**
     * @return link
     */	
    public void setLink(String link) { 
        this.link = link;
    };
    
    /**
     * @return linkType
     */	
    public String getLinkType() { 
	    return this.linkType;
    };
	
	/**
     * @return linkType
     */	
    public void setLinkType(String linkType) { 
        this.linkType = linkType;
    };
    
	
        
    public static void filter(HomeGetStockpileAd home) {
        if (home.getUrl() == null) {
            home.setUrl("");
        }
        if (home.getLink() == null) {
            home.setLink("");
        }
        if (home.getLinkType() == null) {
            home.setLinkType("");
        }
    }
}
